
import { createRouter, createWebHistory, createWebHashHistory  } from 'vue-router';
import Listview from '../views/Listview.vue';
import Indexview from '../views/Indexview.vue';
import Loginview from '../views/Loginview.vue';
import tsindex from '../views/TsListview.vue';
import tsindex1 from '../views/TsListview1.vue';
// 路由配置
const routes = [
  { path: '/special', component: Indexview },
  { path: '/list', name:'list',component: Listview },
  { path: '/', name:'login',component: Loginview ,meta:{'title':'xx'}},
  { path: '/ts', name:'tsindex1',component: tsindex1 },
];
 
// 创建router实例



const router = createRouter({
   // history: createWebHistory(process.env.BASE_URL),//默认时
   history: createWebHashHistory(process.env.BASE_URL),//修改后
    base: "/qe",
    routes
})
export default router;